<html>
<head><meta charset="utf-8"><title>Setting target dir · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Setting.20target.20dir.html">Setting target dir</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="191945056"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Setting%20target%20dir/near/191945056" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Przemysław Walkowiak <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Setting.20target.20dir.html#191945056">(Mar 26 2020 at 20:35)</a>:</h4>
<p>Hi everyone!</p>
<p>I'm trying to configure rust-analyzer language server (with neovim) and have one small issue. Is there a possibility to set the <code>target-dir</code> for rust-analyzer? Or make it to read the path from <code>.cargo/config</code>?</p>



<a name="191945326"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Setting%20target%20dir/near/191945326" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Przemysław Walkowiak <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Setting.20target.20dir.html#191945326">(Mar 26 2020 at 20:37)</a>:</h4>
<p>I couldn't find anything in the documentation :( Also documentation of <code>rls</code> is very unclear. At some point there was <code>rls.toml</code> file, but it was removed.</p>



<a name="191947300"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Setting%20target%20dir/near/191947300" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Przemysław Walkowiak <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Setting.20target.20dir.html#191947300">(Mar 26 2020 at 20:53)</a>:</h4>
<p>Ech.. nvm, for some reason it started to work.. But have no clue what was wrong. It looks that it properly reads the cargo config.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>